package com.company;

import java.util.Scanner;

public class dierti {
    public static void main(String[] args){
        Scanner sc =new Scanner(System.in);
        int[] scores=new int[3];
        int sum=0;
        System.out.println("输入成绩");
        for(int i=0;i<3;i++)
        {
            scores[i]= sc.nextInt();
            sum+=scores[i];
        }
        System.out.println("总分"+sum);
    }
}
